/**
 * 
 */
package kr.co.insoft.core.mapper.template.application;

import java.util.List;
import java.util.Map;

import kr.co.insoft.core.model.paging.PagingModel;
import kr.co.insoft.core.model.template.application.EventEntityModel;
import kr.co.insoft.framework.mapper.UUIDMapper;
import kr.co.insoft.framework.mybatis.Mapper;

/**
 * @author IN-SOFT Inc. Park Jong Taek(jtpark@in-soft.co.kr)
 * 
 */
@Mapper
public interface EventMapper extends UUIDMapper {

	/**
	 * Event Paging 목록
	 * 
	 * @param pagingModel
	 * @return 
	 * @throws Exception
	 */
	public List<EventEntityModel> getPagingList(PagingModel pagingModel)
			throws Exception;
	
	/**
	 * Event 목록
	 * 
	 * @param
	 * @return 
	 * @throws Exception
	 */
	public List<EventEntityModel> getList(Map<String, Object> param)
			throws Exception;

	/**
	 * Event 전체 카운트
	 * 
	 * @param pagingModel
	 * @return 
	 * @throws Exception
	 */
	public int getTotalCount(PagingModel pagingModel) throws Exception;

	/**
	 * Event 정보
	 * 
	 * @param eventEntityModel
	 * @return 
	 * @throws Exception
	 */
	public EventEntityModel getEvent(
			EventEntityModel eventEntityModel) throws Exception;

	/**
	 * Event 생성
	 * 
	 * @param eventEntityModel
	 * @throws Exception
	 */
	public void createEvent(EventEntityModel eventEntityModel)
			throws Exception;
	
	/**
	 * Event 삭제
	 * 
	 * @param eventEntityModel
	 * @throws Exception
	 */
	public void doRemoveEvent(Map<String, Object> param)
			throws Exception;
	
	/**
	 * Event 수정
	 * 
	 * @param eventEntityModel
	 * @throws Exception
	 */
	public void doEditEvent(EventEntityModel eventEntityModel)
			throws Exception;
	
	/**
	 * Event Name 중복 체크
	 * @param eventEntityModel
	 * @return int
	 * @throws Exception
	 */
	public int isExistEventName(EventEntityModel eventEntityModel)
			throws Exception;
	
}
